home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 24 / Mac Magazin and MacEasy Magazine CD - Issue 24.iso / Wissenschaft & Technik / MacEEP / MacEEP.txt < prev    next >
Text File  |  1996-07-19  |  5KB  |  108 lines

  1. MacEEP User's Guide
  2.  
  3. Introduction
  4.  
  5. This application is a Macintosh™ driver for the EEP-1 EEPROM programmer
  6. described in the November 1995 issue of Electronics Now, page 37.  In
  7. addition to downloading binary files to the programmer, it has
  8. facilities to upload programs from an EEPROM to a file, and create a
  9. binary file from either an Intel Hex file or a Motorola™ S19 record. 
  10. The binary can then be downloaded to an EEPROM.
  11.  
  12. Use
  13.  
  14. Running the program is simple.  After connecting the programmer your
  15. Mac's serial port, simply launch the application.  The menu and
  16. graphical interface are selfexplanatory.  If problems arise during
  17. operation, error messages will be posted by means of Alert dialogs.
  18.  
  19. Interface
  20.  
  21. Connection to the EEP-1 is via the Mac's serial port.  In Mac models
  22. with both a printer port and a modem port, the modem port must be used.
  23. The  EEP-1 interface is RS-232.  A standard Mac Mini-8 connector to
  24. DB-25 modem cable should work in conjunction with a DE-9 male to DB-25
  25. female adapter (e.g. Jameco part no. 10321).   The connections are
  26. between TXD-, pin 3 on the MIni-8 connector to pin 2 on the DB-25 and
  27. RXD-, pin 5 in the Mini-8 to pin 3 on the DB-25.  RXD+, pin 8 on the
  28. Mini-8 is grounded through pin 7 on the DB-25.
  29.  
  30. A word of caution concerning the RS-232 interface is in order.  The
  31. serial interface on Macs use a the RS-423 standard, a balanced
  32. interface.   Ordinarily, this probably would not be of concern. However,
  33. the DS1275 RS-232 transceiver used on the EEP-1 operates from a single
  34. ended supply rail by robbing the RXIN line for the TXOUT marking state,
  35. negative signal.  When the Mac is transmitting to the EEP-1 and the RXIN
  36. line transitions to a space, or high, there is no marking state signal
  37. level to rob and the  DS1275 circuitry pulls the TXOUT line weakly to
  38. ground.  In an RS-232 system this is of no real consequence because of
  39. the relatively high thresholds in the RS-232 standard.   But, the
  40. threshold in the RS-423 standard is relatively low, and within
  41. tolerances, the transition to ground may appear to the Mac as a mark to
  42. space transition.  The ideal solution is to put together a hardware
  43. interface using an RS-232 transceiver that operates from a single ended
  44. supply but generates the negative rail internally, such as the Maxim™
  45. MAX232 or Dallas Semiconductor™ DS232, along with a pair of RS-422
  46. interface chips like the 26LS30/26LS32.  Nevertheless, the MacEEP
  47. program attempts to anticipate this problem and  work around it.  In
  48. doing this, it must run slower than it otherwise would.
  49.  
  50. Messages
  51.  
  52. Error conditions are signaled by Alert dialogs.  MacEEP looks for echoes
  53. sent by the EEP-1.  If there is no echo when the software is expecting
  54. one or the echo is different from that which the program expected, an
  55. error message will be posted.  If the EEP-1 is working properly, the
  56. most likely cause of the problem is a bad interface connection.  An
  57. error of this type can also arise during the course of a download or an
  58. erase if the EEPROM has one or more bad cells.   When an operation is
  59. complete, MacEEP will post a dialog telling you.  During the operation,
  60. there is nothing to tell you what is happening.  However, the LED on the
  61. EEP-1 is off while a download, upload or erase is taking place.  If the
  62. LED is off and no error message is posted, then the programmer is
  63. functioning normally.  When the task is completed, the LED will turn on.
  64. So, the LED together with the Alerts signal the status of the
  65. programmer.
  66.  
  67. Running Time
  68.  
  69. To download the 2048 bytes of a 2816 takes slightly more than one
  70. minute..  Obviously downloading fewer bytes takes less time.  Uploading
  71. and erasing necessarily loop through the entire EEPROM so they also take
  72. just over a minute.  Larger EEPROMs woud take a proportionately longer
  73. time.
  74.  
  75. Legal Stuff
  76.  
  77. Both the source code and object code of MacEEP is copyright by the
  78. author, Barry S. Newberger, and is provided subject to the license
  79. enclosed with the distribution.  The software will not run if the
  80. license is separated from the folder in which the application resides.
  81.  
  82. Registration fees should be sent to:
  83.  
  84. Barry S. Newberger
  85. 10037 Circleview Drive 
  86. Austin, TX 78733-6303
  87. e-mail: bsn@mail.utexas.edu
  88.  
  89. Mamix™ is a registered trademark of Maxim Integrated Products, Dallas
  90. Semiconductor™ is a registered trademark of Dallas Semiconcuctor
  91. Corporation, and Motorola™ is a registered trademark of Motorola,
  92. Incorporated.  Macintosh™ is a registered trademark of Apple Computer,
  93. Inc.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. ©1996, Barry S. Newberger
  108.